package com.s20y.register.config.es.mapper;

import com.s20y.register.config.es.model.Trip;
import com.s20y.register.config.es.model.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface IndexMapper {
	List<User> selectUsers(@Param("minutes") Integer minutes);

	List<Trip> selectTrips(@Param("minutes") Integer minutes);
}